UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The audit system must be configured to audit file deletions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-29240 GEN002740-2 SV-45300r1_rule Medium
Description
If the system is not configured to audit certain activities and write them to an audit log, it is more difficult to detect and track system compromises and damages incurred during a system compromise.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2017-08-25

Details

Check Text ( C-42648r1_chk )
Check the system audit configuration to determine if file and directory deletions are audited.

# cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "rmdir"
If no results are returned, or the results do not contain "-S rmdir", this is a finding.
Fix Text (F-38696r1_fix)
Edit the audit.rules file and add the following line to enable auditing of deletions:
-a exit,always -S rmdir

Restart the auditd service.
# rcauditd restart
OR
# service auditd restart